package cn.edu.scau.cmi.wusonglang.orm.fxproperty;

import javafx.beans.property.SimpleStringProperty;

public class StudentProperty {

	private final SimpleStringProperty id;
	private final SimpleStringProperty name;
 
	public StudentProperty(String id,String name) {
		this.id = new SimpleStringProperty(id.toString());
		this.name = new SimpleStringProperty(name);
	}

	public String getId() {
		return id.get();
	}

	public String getName() {
		return name.get();
	}
	
	public void setId(Integer id) {
		this.id.set(id.toString());
	}
	
	public void setName(String name) {
		this.name.set(name);
	}
 
	
}
